package com.crm.action;

public class ToPageAction extends BaseAction {
	
	
	private int pageFlag ;
	
	
	  public String doForword(){
		  
		  if(pageFlag == 1){
			  return "page1";
		  }else{
		  if(pageFlag == 2){
			  return "page2";
		  }else{
			  
			  if(pageFlag == 3){
				  return "page3";
			  }else{
				  
				  return "page4";
			  }
			  
		  }
		
		  }
		  
	  }
	
	

	public int getPageFlag() {
		return pageFlag;
	}

	public void setPageFlag(int pageFlag) {
		this.pageFlag = pageFlag;
	}
	
	

}
